/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package classes;

import java.util.ArrayList;

/**
 *
 * @author Shelling Ford
 */
public class User {
    // attribut

    public String username;
    public String password;
    public String nama;
    public String email;
    public String privilege;
    public Boolean banned;
    public Boolean online;
    public int lastMessageId = -1;

    public User() {
        
    }

    public User(String username, String password, String nama, String email, String privilege, Boolean banned, Boolean online, int lastMessageId){
        this.username = username;
        this.password = password;
        this.nama = nama;
        this.email = email;
        this.privilege = privilege;
        this.banned = banned;
        this.online = online;
        this.lastMessageId = lastMessageId;
    }
 
    public User(String sUsername, Boolean bBanned, String sPrivilege) {
        username = sUsername;
        banned = bBanned;
        privilege = sPrivilege;
    }
}
